package com.lizhi.yun.db.sfrobot.entity;

import com.lizhi.mybatis.boot.Description;
import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @Author: lizhi
 * @Description:
 * @Date: create in 2020/11/18 10:57
 */
@Data
@ToString
@Entity
@Table(name = "his_center_robot_status")
@Description("机器轴位置信息")
public class RobotStatus {

    @Id
    @Column(length = 30)
    @Description("lid")
    public String lid;

    @Description(value = "机器id")
    public String robotDeviceId;

    @Description(value = "是否在线")
    public Boolean online;

    @Description(value = "轴位置")
    public Float[] positions;

    @Description(value = "医院ID")
    private String hospitalId;

    @Description(value = "系统ID")
    private String hospitalSystemId;

    @Description("数据上传时间")
    public String dataUpTime;

    @Description("时间")
    private Date activeTime;
}
